package gq.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.beans.Transient;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users implements Serializable {
    private Integer uid;
    private String username;
    private String password;
    private String email;
    private String createtime;
    private Integer sectorid;
    private String photo;
    private String introduce;
    private int rid;

    public Users(Integer uid, String username) {
        this.uid = uid;
        this.username = username;
    }

    public Users(Integer uid,String username, Integer sectorid, String introduce) {
        this.uid = uid;
        this.username = username;
        this.sectorid = sectorid;
        this.introduce = introduce;
    }
}
